<include file="Public:header" />
<script>
    function sendMsg(){
        var ids=new Array();
        $('.sall').each(function(index, element) {
            if($(this).prop('checked')){
                ids.push($(this).next('input').val());
            }
        });
        if(ids.length>0){
            $.ajax({
                url:'{:U('sendMsg')}',
                data:'msg='+$('#save-source').val()+'&ids='+ids.toString(),
                type:'POST',
                dataType:"json",
                success: function(data){
                    success('成功发送了'+data.info+'条信息！');
                }
            });
        }else{
            error('请选择要发送信息的对象！');
        }
    }
</script>
<div class="container main"> <include file="Public:left" />
    <div class="w790">
        <div class="h">
            <if condition="getAccessMenu($accessList, 'Admin', 'Member_bank', 'index')">
                <a href="{:U('Member_bank/index')}" class="btn btn-info"><i class="glyphicon glyphicon-plus"></i>返回列表</a>
            </if>
            <div style="clear:both;"></div>
        </div>
        <div class="table_">
            <table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
                <thead>
                <tr>
                    <td align="center">单号</td>
                    <td align="center">申请提现积分</td>
                    <td align="center">手续费</td>
                    <td align="center">实际提现积分</td>
                    <td align="center">银行卡号</td>
                    <td align="center">申请时间</td>
                    <td align="center">审核状态</td>
                </tr>
                </thead>
                <?php if(!isset($list)){ echo '<tr><td colspan="7" align="center" >暂无数据</td></tr>';} ?>
                <volist name="list" id="vo">
                    <tr>
                        <td align="center">{$vo.id}</td>
                        <td align="center">{$vo.changenum}</td>
                        <td align="center"><?php echo round($vo["goodsMoney"]*0.0048,2); ?></td>
                        <td align="center">{$vo.goodsMoney}</td>
                        <volist name="bank" id="bvo">
                            <if condition="$bvo['id'] eq $vo['mem_brankid']">
                                <td align="center">{$bvo.account}</td>
                            </if>
                        </volist>
                        <td align="center">{$vo['dateline']|date="Y-m-d H:i:s",###}</td>
                        <td align="center">
                            <if condition="$vo['status'] eq 0">
                                审核中
                                <else />
                                已审核
                            </if>
                        </td>
                    </tr>
                </volist>
            </table>
            <div class="pages">
                <form class="fr" style="display:inline;" id="pagesize" action="" method="get">
                    <label class="form-inline">
                        <select name="pagesize" onchange="document.getElementById('pagesize').submit();" class="form-control">
                            <option
                            <eq name="pagesize" value="10">selected="selected"</eq>
                            value="10">每页10条
                            </option>
                            <option
                            <eq name="pagesize" value="20">selected="selected"</eq>
                            value="20">每页20条
                            </option>
                            <option
                            <eq name="pagesize" value="30">selected="selected"</eq>
                            value="30">每页30条
                            </option>
                            <option
                            <eq name="pagesize" value="50">selected="selected"</eq>
                            value="50">每页50条
                            </option>
                            <option
                            <eq name="pagesize" value="100">selected="selected"</eq>
                            value="100">每页100条
                            </option>
                            <option
                            <eq name="pagesize" value="500">selected="selected"</eq>
                            value="500">每页500条
                            </option>
                        </select>
                    </label>
                    <input type="hidden" name="category_id" value="{$category_id}" />
                    <input type="hidden" name="keywords" value="{$keywords}" />
                </form>
                <div class="fr">{$pages}</div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
<include file="Public:footer" />